//
//  ESHUDView.h
//  Edusoho
//
//  Created by Edusoho on 14-7-18.
//  Copyright (c) 2014年 Kuozhi Network Technology. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^ESHUDViewDismissBlock)();

@interface ESHUDView : NSObject

@property (nonatomic, copy)ESHUDViewDismissBlock dismissBlock;

+ (instancetype)sharedInstance;
+ (void)showLoading;
+ (void)showWithStatus:(NSString *)string;
+ (void)dismiss;
- (void)showSuccessMessage:(NSString *)string dismissBlock:(ESHUDViewDismissBlock)block;
- (void)showErrorMessage:(NSString *)string dismissBlock:(ESHUDViewDismissBlock)block;

@end
